package com.sztx.pay.center.dataaccess.dao.redis;

import com.sztx.se.dataaccess.redis.BaseRedisDAO;


/**
 * 
 * @author zhihongp
 *
 */
public interface LockRedisDAO extends BaseRedisDAO {
	
	boolean lockMqMessage(final String messageId);
	
	boolean lockOrder(final String orderId, final String orderStatus);
	
	boolean lockOrder(final String orderId, final String orderStatus, final String prefix);
	
	boolean lockOrder(final String orderId, final String orderStatus, final String prefix, final long expireTime);
	
	boolean unlockOrder(final String orderId, final String orderStatus, final String prefix);
	
	boolean unLockOrder(final String orderId, final String orderStatus);
	
	String getLockOrderStatus(final String orderId);
	
	boolean lockSettleOrder(final String settleDay, final long expireTime);
	
	boolean unLockSettleOrder(final String settleDay);
}
